package com.aaa.order.properties;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;


@Component
////批量绑定nacos下 ，prefix前缀.
@ConfigurationProperties(prefix = "order")
@Data
public class OrderProperties {
    //过期时间
    String timeout;
    //认证天数
    String autoConfirm;
}
